package com.jacky.javase;

public class SingletonL {
    private static SingletonL singleton = null;

    private SingletonL() {    }

    public static SingletonL getInstance() {
        if (singleton == null) {
            for (int i = 0; i < 1000; i++) {
                for (int j = 0; j < 1000; j++) {
                    for (int k = 1; k < 1000; k++) {
                        int num = i*j/k;
                    }
                }
            }
            singleton = new SingletonL();
        }
        return singleton;
    }

}
